package com.zcf.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.io.Serializable;

public class Taocan extends Model<Taocan> {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id")
    private String id;
    private String name;
    private String content;
    private String dinid;
    private String sale;
    private String zksale;
    private String img;
    private int xh;
    @TableField(exist = false)
    private String diningName;

    public String getDiningName() {
        return diningName;
    }

    public void setDiningName(String diningName) {
        this.diningName = diningName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getXh() {
        return xh;
    }

    public void setXh(int xh) {
        this.xh = xh;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDinid() {
        return dinid;
    }

    public void setDinid(String dinid) {
        this.dinid = dinid;
    }

    public String getSale() {
        return sale;
    }

    public void setSale(String sale) {
        this.sale = sale;
    }

    public String getZksale() {
        return zksale;
    }

    public void setZksale(String zksale) {
        this.zksale = zksale;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
